package com.tju.resource.business.tb_purchase;

import com.tju.resource.model.TbPurchase;
import com.tju.resource.result.Result;
import com.tju.resource.tool.tool.ClientParameters;

/**
 * 采购接口
 */
public interface TbPurchaseService {
    /**
     * 查询采购数据
     * @param parameters
     * @return
     */
    Result<Object> get(ClientParameters parameters);

    /**
     * 添加
     * @param tbPurchase
     * @return
     */
    Result<Object> add(TbPurchase tbPurchase);
    /**
     * 删除
     * @param tbPurchase
     * @return
     */
    Result<Object> del(TbPurchase tbPurchase);
    /**
     * 修改
     * @param tbPurchase
     * @return
     */
    Result<Object> upd(TbPurchase tbPurchase);

    /**
     * 审核
     * @param tbPurchase
     * @return
     */
    Result<Object> check(TbPurchase tbPurchase);

    Result<Object> twoCheck(TbPurchase tbPurchase);
}
